<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="js/jquery-3.2.1.min.js" ></script>
	</head>
	<body>
		
			<p id="anniu">12</p>
			
  	<script type="text/javascript">
  		let anniu= document.getElementById("anniu")
  		anniu.onclick=function(){
  	 		var pp=confirm("是否确认");
  				if(pp==true){
  					 k_open=prompt("请输入你要打开的网址");
  					window.open(k_open,'_blank','width=400,height=500,menubar=no,toolbar=no')
  				}
  				}
  		
  				
  		
   	
</script>
		

	
	</body>
</html>
